package com.ruoyi.grape.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 防范补救措施对象 tb_grape_method
 * 
 * @author ld
 * @date 2023-11-18
 */
public class GrapeMethod extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long methodId;

    /** 预警类型 */
    @Excel(name = "预警类型")
    private String methodType;

    /** 防范行动 */
    @Excel(name = "防范行动")
    private String preAction;

    /** 补救措施 */
    @Excel(name = "补救措施")
    private String reAction;

    /** 备注 */
    @Excel(name = "备注")
    private String methodNote;

    public void setMethodId(Long methodId) 
    {
        this.methodId = methodId;
    }

    public Long getMethodId() 
    {
        return methodId;
    }
    public void setMethodType(String methodType) 
    {
        this.methodType = methodType;
    }

    public String getMethodType() 
    {
        return methodType;
    }
    public void setPreAction(String preAction) 
    {
        this.preAction = preAction;
    }

    public String getPreAction() 
    {
        return preAction;
    }
    public void setReAction(String reAction) 
    {
        this.reAction = reAction;
    }

    public String getReAction() 
    {
        return reAction;
    }
    public void setMethodNote(String methodNote) 
    {
        this.methodNote = methodNote;
    }

    public String getMethodNote() 
    {
        return methodNote;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("methodId", getMethodId())
            .append("methodType", getMethodType())
            .append("preAction", getPreAction())
            .append("reAction", getReAction())
            .append("methodNote", getMethodNote())
            .toString();
    }
}
